<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml">
<meta charset="utf-8">
<head th:include="@{include} :: header"></head>
<body>
<div class="layuimini-container">
    <div class="layuimini-main">
        <div class="layui-row">
            <form class="layui-form layui-form-pane" id="signupForm">
                <input id="id" name="id" th:value="${fireWork.id}" type="hidden">
                <div th:if="${fireWork.recordType == 0}">
                    <div class="layui-form-item">
                        <label class="layui-form-label">集团名称：</label>
                        <div class="layui-input-block">
                            <input id="typeName" readonly name="groupName" th:value="${fireWork.groupName}" class="layui-input"  type="text" autocomplete="off">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">片区名称：</label>
                        <div class="layui-input-block">
                            <input id="pianquName" readonly name="pianquName" th:value="${fireWork.pianquName}" class="layui-input"  type="text" autocomplete="off">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">作业证编号：</label>
                        <div class="layui-input-block">
                            <input id="recordNo" readonly name="recordNo" th:value="${fireWork.recordNo}" class="layui-input"  type="text" autocomplete="off">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">申请企业：</label>
                        <div class="layui-input-block">
                            <input id="regCompanyName" readonly name="regCompanyName" th:value="${fireWork.regCompanyName}" class="layui-input"  type="text" autocomplete="off">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">动火地点和部位：</label>
                        <div class="layui-input-block">
                            <input id="fireAddress" readonly name="fireAddress" th:value="${fireWork.fireAddress}" class="layui-input"  type="text" autocomplete="off">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">作业内容：</label>
                        <div class="layui-input-block">
                            <input id="workContent" readonly name="workContent" th:value="${fireWork.workContent}" class="layui-input"  type="text" autocomplete="off">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">动火作业级别：</label>
                        <div class="layui-input-block">
                            <input id="opLevelStr" readonly name="opLevelStr" th:value="${fireWork.opLevelStr}" class="layui-input"  type="text" autocomplete="off">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">动火方式：</label>
                        <div class="layui-input-block">
                            <input id="fireTypeStr" readonly name="fireTypeStr" th:value="${fireWork.fireTypeStr}" class="layui-input"  type="text" autocomplete="off">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">动火人：</label>
                        <div class="layui-input-block">
                            <input id="workMan" readonly name="workMan" th:value="${fireWork.workMan}" class="layui-input"  type="text" autocomplete="off">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">证书编号：</label>
                        <div class="layui-input-block">
                            <input id="certificateNo" readonly name="certificateNo" th:value="${fireWork.certificateNo}" class="layui-input"  type="text" autocomplete="off">
                        </div>
                    </div>
<!--                    <div class="layui-form-item">-->
<!--                        <label class="layui-form-label">批准人：</label>-->
<!--                        <div class="layui-input-block">-->
<!--                            <input id="recordHeaderUser" readonly name="recordHeaderUser" th:value="${fireWork.recordHeaderUser}" class="layui-input"  type="text" autocomplete="off">-->
<!--                        </div>-->
<!--                    </div>-->
                    <div class="layui-form-item">
                        <label class="layui-form-label">风险辨识结果：</label>
                        <div class="layui-input-block">
                            <input id="riskIdentifiResult" readonly name="riskIdentifiResult" th:value="${fireWork.riskIdentifiResult}" class="layui-input"  type="text" autocomplete="off">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">作业实施时间：</label>
                        <div class="layui-input-block">
                            <input id="workEffectiveTime" readonly name="workEffectiveTime" th:value="${fireWork.workEffectiveTime}" class="layui-input"  type="text" autocomplete="off">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">申请人：</label>
                        <div class="layui-input-block">
                            <input id="regUserName" readonly name="regUserName" th:value="${fireWork.regUserName}" class="layui-input"  type="text" autocomplete="off">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">申请时间：</label>
                        <div class="layui-input-block">
                            <input id="applyTime" readonly name="applyTime" th:value="${fireWork.applyTime}" class="layui-input"  type="text" autocomplete="off">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">审核图片：</label>
                        <img th:each="img : ${fireWork.examineImgList}" th:src="${img}" class='grid-column-qrcode' width='50' height='50' style="margin-left: 5px" />
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">审核意见：</label>
                        <div class="layui-input-block">
                            <input id="examinerOpinion" readonly name="examinerOpinion" th:value="${fireWork.examinerOpinion}" class="layui-input"  type="text" autocomplete="off">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">审核人：</label>
                        <div class="layui-input-block">
                            <input id="examiner" readonly name="examiner" th:value="${fireWork.examiner}" class="layui-input"  type="text" autocomplete="off">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">审核时间：</label>
                        <div class="layui-input-block">
                            <input id="examinerTime" readonly name="examinerTime" th:value="${fireWork.examinerTime}" class="layui-input"  type="text" autocomplete="off">
                        </div>
                    </div>
                    <div th:if="${fireWork.opLevel == 2}" class="layui-form-item">
                        <label class="layui-form-label">批准意见：</label>
                        <div class="layui-input-block">
                            <input id="approverOpinion" readonly name="approverOpinion" th:value="${fireWork.approverOpinion}" class="layui-input"  type="text" autocomplete="off">
                        </div>
                    </div>
                    <div th:if="${fireWork.opLevel == 2}" class="layui-form-item">
                        <label class="layui-form-label">批准人：</label>
                        <div class="layui-input-block">
                            <input id="approver" readonly name="approver" th:value="${fireWork.approver}" class="layui-input"  type="text" autocomplete="off">
                        </div>
                    </div>
                    <div th:if="${fireWork.opLevel == 2}" class="layui-form-item">
                        <label class="layui-form-label">批准时间：</label>
                        <div class="layui-input-block">
                            <input id="approverTime" readonly name="approverTime" th:value="${fireWork.approverTime}" class="layui-input"  type="text" autocomplete="off">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">验收图片：</label>
                        <img th:each="img : ${fireWork.acceptImgList}" th:src="${img}" class='grid-column-qrcode' width='50' height='50' style="margin-left: 5px" />
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">验收人：</label>
                        <div class="layui-input-block">
                            <input id="acceptPerson" readonly name="acceptPerson" th:value="${fireWork.acceptPerson}" class="layui-input"  type="text" autocomplete="off">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">验收时间：</label>
                        <div class="layui-input-block">
                            <input id="acceptTime" readonly name="acceptTime" th:value="${fireWork.acceptTime}" class="layui-input"  type="text" autocomplete="off">
                        </div>
                    </div>
                </div>
                <div th:if="${fireWork.recordType == 2 or fireWork.recordType == 1}">
                    <div class="layui-form-item">
                        <label class="layui-form-label">申请企业：</label>
                        <div class="layui-input-block">
                            <input readonly name="regCompanyName" th:value="${fireWork.regCompanyName}" class="layui-input"  type="text" autocomplete="off">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">申请人：</label>
                        <div class="layui-input-block">
                            <input readonly name="regUserName" th:value="${fireWork.regUserName}" class="layui-input"  type="text" autocomplete="off">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">申请时间：</label>
                        <div class="layui-input-block">
                            <input readonly name="applyTime" th:value="${fireWork.applyTime}" class="layui-input"  type="text" autocomplete="off">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">作业人：</label>
                        <div class="layui-input-block">
                            <input readonly name="workMan" th:value="${fireWork.workMan}" class="layui-input"  type="text" autocomplete="off">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">作业人员单位：</label>
                        <div class="layui-input-block">
                            <input readonly name="workMan" th:value="${fireWork.workManType}" class="layui-input"  type="text" autocomplete="off">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">作业时间：</label>
                        <div class="layui-input-block">
                            <input readonly th:value="${fireWork.workEffectiveTime}" class="layui-input"  type="text" autocomplete="off">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">作业高度：</label>
                        <div class="layui-input-block">
                            <input readonly th:value="${fireWork.workHeight}" class="layui-input"  type="text" autocomplete="off">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">作业内容：</label>
                        <div class="layui-input-block">
                            <input readonly th:value="${fireWork.workContent}" class="layui-input"  type="text" autocomplete="off">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">作业地点：</label>
                        <div class="layui-input-block">
                            <input readonly th:value="${fireWork.fireAddress}" class="layui-input"  type="text" autocomplete="off">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">生产经理：</label>
                        <div class="layui-input-block">
                            <input readonly th:value="${fireWork.productionManager}" class="layui-input"  type="text" autocomplete="off">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">签字时间：</label>
                        <div class="layui-input-block">
                            <input readonly th:value="${fireWork.productionManagerSignTime}" class="layui-input"  type="text" autocomplete="off">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">安全督导员：</label>
                        <div class="layui-input-block">
                            <input readonly th:value="${fireWork.safeSupervisor}" class="layui-input"  type="text" autocomplete="off">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">签字时间：</label>
                        <div class="layui-input-block">
                            <input readonly th:value="${fireWork.safeSupervisorTime}" class="layui-input"  type="text" autocomplete="off">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">验收人：</label>
                        <div class="layui-input-block">
                            <input readonly th:value="${fireWork.acceptPerson}" class="layui-input"  type="text" autocomplete="off">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">验收时间：</label>
                        <div class="layui-input-block">
                            <input readonly th:value="${fireWork.acceptTime}" class="layui-input"  type="text" autocomplete="off">
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div style="text-align: center;margin-top: 20px">
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript" th:src="@{/js/appjs/module/fireWork/detail.js}"></script>
</body>
</html>
